import { createApp } from "vue";
import "amfe-flexible";
import App from "./App.vue";
import Router from "./router";
import Vant from "vant";
import "vant/lib/index.css";
import "./styles/index.scss";
import pinia from "./stores";
import homeHeader from "@/components/homeHeader/index.vue";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 按需引入NutUI
import { Sku, Popup, InputNumber, Price, Icon, OverLay,BackTop } from "@nutui/nutui";
import './mock/index.js'

const app = createApp(App);
// NutUI
app.use(Sku);
app.use(Popup);
app.use(InputNumber);
app.use(Price);
app.use(Icon);
app.use(OverLay);
app.use(BackTop );
//Vant
app.use(Vant);
app.use(ElementPlus)
app.use(Router);
app.use(pinia);
app.component("homeHeader", homeHeader);
app.mount("#app");








